﻿@model Gfw.Web.Models.Site.AnnouncementModel

@{
    ViewBag.Title = Model.AnnouncementTitle;
    Layout = "~/Views/Shared/_LayoutContent.cshtml";
}
    <div style="text-align: right; font-size: 12px; color: #FF9933">
      @Html.DisplayFor(model => model.AnnouncementDate)
    </div>
    <div style="text-align: center">
        @Html.Raw(Model.AnnouncementContent)
    </div>

<p>
    @{
        if(ViewBag.isDefault != null && (bool)ViewBag.isDefault)
        {
            @Html.ActionLink("返回", "Index", "Default")
        }
        else
        {
            @Html.ActionLink("返回", "Index", "Announcement", new { model = ViewBag.QueryModel as Gfw.Web.Models.AnnouncementQueryModel})
        }
    }
    
</p>

